Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameKey

Dispatches a key event to a frame.

OSStatus JMFrameKey (JMFrameRef frame,
char asciiChar,
char keyCode,
short modifiers);
frame
The frame in which the key event occurred.
asciiChar
The ASCII character being typed.
keyCode
The machine key code being typed.
modifiers
Any keyboard modifiers from the EventRecord. You can determine the ASCII character (and corresponding machine key code) from EventRecord.message. For more information about the EventRecord data structure, see Inside Macintosh: Macintosh Toolbox Essentials.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
The client application must keep track of the currently active frame.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help